package se.joinenea.bishopsarm;

public class StopWatch {
    private long startTime;

    public void start() {
        startTime = System.nanoTime();
    }

    /**
     *
     * @return Elapsed time (in milliseconds) since start() was called
     */
    public long stop() {
        return (System.nanoTime() - startTime) / 1000000;
    }
}
